package com.ruoyi.project.lely.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;


/**
 * 订单商品
 *
 * @author luoyong
 */
@Data
@ApiModel("订单商品 出参VO")
public class LyOrderGoodsVO {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("订单表的订单ID")
    private Integer orderId;

    @ApiModelProperty("入驻品牌店铺编码")
    private Integer brandId;

    @ApiModelProperty("商品表的商品ID")
    private Integer goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品编号")
    private String goodsSn;

    @ApiModelProperty("商品货品表的货品ID")
    private Integer productId;

    @ApiModelProperty("商品货品的购买数量")
    private Integer number;

    @ApiModelProperty("商品货品的售价")
    private BigDecimal price;

    @ApiModelProperty("商品货品的规格列表")
    private String specifications;

    @ApiModelProperty("商品货品图片或者商品图片")
    private String picUrl;

    @ApiModelProperty("订单商品评论，如果是-1，则超期不能评价；如果是0，则可以评价；如果其他值，则是comment表里面的评论ID。")
    private Integer comment;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("退款跟踪ID")
    private Integer refundId;

    @ApiModelProperty("代理结算佣金")
    private BigDecimal settlementMoney;

}
